package standaloneGenerator;



import org.apache.velocity.app.Velocity;
import org.apache.velocity.runtime.RuntimeConstants;
import ctxSemanticsGen.Constants;
import ctxSemanticsGen.appDependent.VelocityInitializer;



/**
 * Velocity initializer for standalone JavaCtx
 * 
 * @author guido
 *
 */
public class StandaloneVelocityInitializer implements VelocityInitializer {

	@Override
	public void initializeVelocity() {
		
		Velocity.setProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH,
				             Constants.TEMPLATES_DIR );
        Velocity.init();
		
	}
}
